package archer.framework.protocol.exception;

import archer.framework.protocol.result.ResultCode;

/**
 * @author kent
 * @date 16/7/4.
 */
public class AccessDeniedException extends BusinessException {

    public AccessDeniedException(){
        super(ResultCode.ACCESS_DENIED);
    }

    public AccessDeniedException(String resultMsg) {
        super(ResultCode.ACCESS_DENIED.name(), resultMsg);
    }

    public AccessDeniedException(String resultMsg, Object resultData) {
        super(ResultCode.ACCESS_DENIED.name(), resultMsg, resultData);
    }

    public AccessDeniedException(String resultMsg, String resultCodeExt, Object resultData) {
        super(ResultCode.ACCESS_DENIED.name(), resultMsg, resultCodeExt, resultData);
    }
}
